package com.zlcx.tz.live.service.impl;

import org.springframework.web.multipart.MultipartFile;

public interface UploadService {
    /**
     * 鉴黄上传
     *
     * @param file         file
     * @param modelPath    modelPath
     * @param subModelPath subModelPath
     * @param needResize   needResize
     * @return
     */
    String uploadOssFile(MultipartFile file, String modelPath, String subModelPath, boolean needResize);

    String uploadPublishPicCheck(Long roomId, Long userId, MultipartFile file);

    /**
     * 删除
     *
     * @param fileUrl fileUrl
     */
    void deleteFile(String fileUrl);

    void deleteFilesByDayPath(String dayPath);

    String uploadComplaintImg(Long userId, MultipartFile file);
}
